﻿[assembly: System.Web.PreApplicationStartMethod(typeof(Applay.Web.Setup), "OnPreStart")]

namespace Applay.Web
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Web.Mvc;

    public static class Setup
    {
        public static void OnPreStart()
        {
            GlobalFilters.Filters.Add(new UnauthorizedExceptionFilter());
            GlobalFilters.Filters.Add(new ValidationScopeFilter());
        }
    }
}
